package routers

import (
	"github.com/astaxie/beego"
	"stores/controllers"
)

func init() {
	beego.Router("/", &controllers.MainController{})
	beego.Router("/add", &controllers.StoresController{}, "post:Add")
	beego.Router("/list", &controllers.StoresController{}, "get:List")
	beego.Router("/update", &controllers.StoresController{}, "post:Update")
}
